package com.gitee.feizns.webtemplate.commons.upload.service;

import com.gitee.feizns.webtemplate.commons.upload.UploadEvent;
import com.gitee.feizns.webtemplate.commons.upload.UploadProperties;

/**
 * 资源上传处理器
 * @author feizns
 * @since 2019/4/14
 */
public interface MediaHandler {

    /**
     * 处理具体的资源上传
     * @param event
     * @param properties
     */
    void handle(UploadEvent event, UploadProperties properties);

}

